<div class="widget widget-tag-cloud">
<span class="iconfont">&#xe62b; </span>
  <h4 class="widget-title">标签云</h4>
    <hr/>
  <ul>
    {% for tag in tag_list %}

          <a href="{% url 'article:tags' tag.name %}" class="tag-icon label label-default">{{ tag.name }} <span class="post-count ">({{ tag.num_articles }})</span> </a>

    {% empty %}
      暂无标签！
    {% endfor %}
  </ul>
</div>